package cn.powerone.scm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.powerone.common.annotation.Excel;
import cn.powerone.common.core.domain.BaseEntity;

/**
 * 产品子表对象 scm_products_sub
 * 
 * @author PowerOne
 * @date 2025-06-27
 */
public class ScmProductsSub extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long productId;

    /** 子图号 */
    @Excel(name = "子图号")
    private String drawingSubNumber;

    /** 附件名字 */
    @Excel(name = "附件名字")
    private String drawingSubAttachmentName;

    /** 附件地址 */
    @Excel(name = "附件地址")
    private String drawingSubAttachmentUrl;

    /** 产品子图纸备注 */
    @Excel(name = "产品子图纸备注")
    private String productSubRemark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setDrawingSubNumber(String drawingSubNumber) 
    {
        this.drawingSubNumber = drawingSubNumber;
    }

    public String getDrawingSubNumber() 
    {
        return drawingSubNumber;
    }
    public void setDrawingSubAttachmentName(String drawingSubAttachmentName) 
    {
        this.drawingSubAttachmentName = drawingSubAttachmentName;
    }

    public String getDrawingSubAttachmentName() 
    {
        return drawingSubAttachmentName;
    }
    public void setDrawingSubAttachmentUrl(String drawingSubAttachmentUrl) 
    {
        this.drawingSubAttachmentUrl = drawingSubAttachmentUrl;
    }

    public String getDrawingSubAttachmentUrl() 
    {
        return drawingSubAttachmentUrl;
    }
    public void setProductSubRemark(String productSubRemark) 
    {
        this.productSubRemark = productSubRemark;
    }

    public String getProductSubRemark() 
    {
        return productSubRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("drawingSubNumber", getDrawingSubNumber())
            .append("drawingSubAttachmentName", getDrawingSubAttachmentName())
            .append("drawingSubAttachmentUrl", getDrawingSubAttachmentUrl())
            .append("productSubRemark", getProductSubRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
